package com.kittlen.managementSystem.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.util.List;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 学员表
 * </p>
 *
 * @author kittlen
 * @since 2021-01-26
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_student")
public class Student implements Serializable {

    private static final long serialVersionUID = 1L;

    public Student(String studentId) {
        this.studentId = studentId;
    }

    public Student() {
    }

    /**
     * 用户id
     */
    @TableId(value = "student_id", type = IdType.INPUT)
    private String studentId;

    /**
     * 用户名
     */
    private String fullname;

    /**
     * 头像
     */
    private String photo;

    /**
     * 密码
     */
    private String pwd;

    /**
     * 性别(0:女,1:男)
     */
    private Boolean agender;

    /**
     * 电话号码
     */
    private String phone;

    /**
     * 邮箱
     */
    private String email;

    /**
     * 是否毕业(0为否)
     */
    private Boolean isEnd;

    /**
     * 添加时间
     */
    private String joiningTime;

    /**
     * 当前学习阶段
     */
    private Integer studyStatus;

    /**
     * 当前学习状态(-1:未开始,0:学习中,1学习完毕)
     */
    private Integer studyType;

    public class Students{
        List<String> studentIds;

        public List<String> getStudentIds() {
            return studentIds;
        }

        public void setStudentIds(List<String> studentIds) {
            this.studentIds = studentIds;
        }
    }

}
